//
//  PinLeiCollectionCell.m
//  Wujin
//
//  Created by cz on 2016/12/10.
//  Copyright © 2016年 dong. All rights reserved.
//

#import "PinLeiCollectionCell.h"
#import "CategoryModel.h"
@interface PinLeiCollectionCell ()

@property (weak, nonatomic) IBOutlet UILabel *childNameLabel;


@end


@implementation PinLeiCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
    self.childNameLabel.center = self.center;
}

- (void)setChild:(Child *)child {
    
    _child = child;
    self.childNameLabel.text = child.name;
    
}



@end
